package com.sjd.farm.domain.dto.order;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

/**
 * WebFarmOrderQry
 *
 * @author seer
 * @date 2022/2/4 19:41
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ToString(callSuper = true)
public class WebFarmOrderQryRequestDTO {
    /**
     * 订单号
     */
    private String orderNo;

    /**
     * 订单状态
     */
    private Integer orderStatus;

    /**
     * 开始时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime startTime;

    /**
     * 结束时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime endTime;
}
